function SM_WinPrint(theURL,winName,features) {
  a = window.open(theURL,winName,features);
  a.onload = function() { a.print()}
}

//function to popup a student information
function popUpStudentInfo(nomatrik) {
	winName = 'popup';
	theURL = 'student.php?act=profile_info&nomatrik=' + nomatrik;
	features = 'scrollbars=yes,width=900,height=550';
	a = window.open(theURL,winName,features);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
